package com.studentgrowth.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.studentgrowth.model.course.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface CourseRepository extends BaseMapper<Course> {
    @Select("SELECT * FROM course WHERE is_recommend = true")
    List<Course> findRecommendCourses();
} 